home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / xcoral / xcoral.lha / xcoral-1.72 / browser_pars.h < prev    next >
C/C++ Source or Header  |  1993-01-23  |  3KB  |  82 lines

  1. /*
  2. ** Copyright 1989, 1992 by Lionel Fournigault
  3. **
  4. ** Permission to use, copy, and distribute for non-commercial purposes,
  5. ** is hereby granted without fee, providing that the above copyright
  6. ** notice appear in all copies and that both the copyright notice and this
  7. ** permission notice appear in supporting documentation.
  8. ** The software may be modified for your own purposes, but modified versions
  9. ** may not be distributed.
  10. ** This software is provided "as is" without any expressed or implied warranty.
  11. **
  12. **
  13. */
  14.  
  15. #ifndef BROWSERPARSE_H
  16. #define BROWSERPARSE_H
  17.  
  18.  
  19. /*------------------------------------------------------------------------------
  20. */
  21. enum BrowserError {
  22.   NO_BERROR,
  23.   BERROR
  24. };
  25.  
  26. typedef enum BrowserError BrowserError;
  27.  
  28.  
  29. /*------------------------------------------------------------------------------
  30. */
  31. extern FileRec*  parsed_file;
  32.  
  33. extern ClassRec* class_cache;
  34.  
  35.  
  36. /*------------------------------------------------------------------------------
  37. //
  38. //------------------------------------------------------------------------------
  39. */
  40.  
  41. extern BrowserError add_file        (/* char*      file_name */);
  42.  
  43.  
  44. /*------------------------------------------------------------------------------
  45. //
  46. //------------------------------------------------------------------------------
  47. */
  48.  
  49. extern BrowserError add_proc        (/* char*      proc_name,
  50.                                         ProcType   proc_type,
  51.                                         LineNumber impl_line */);
  52.  
  53.  
  54. /*------------------------------------------------------------------------------
  55. //
  56. //------------------------------------------------------------------------------
  57. */
  58.  
  59. extern BrowserError add_class       (/* char*      class_name,
  60.                                         LineNumber decl_line */);
  61.  
  62. extern BrowserError add_parent      (/* char*      class_name,
  63.                                         char*      parent_name,
  64.                                         ScopeType  scope */);
  65.  
  66. extern BrowserError add_method_decl (/* char*      class_name, 
  67.                                         char*      method_name,
  68.                                         ScopeType  scope,
  69.                                         int        virtual_decl,
  70.                                         LineNumber decl_line */);
  71.  
  72. extern BrowserError add_method_impl (/* char*      class_name,
  73.                                         char*      method_name,
  74.                                         LineNumber impl_line */);
  75.  
  76.  
  77. #endif    /*  BROWSERPARSE_H  */
  78.  
  79.  
  80.  
  81.  
  82.